.card-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* Spacing between cards */
    padding: 20px;
  }

  .card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 8px;
    transition: transform 0.3s;
    cursor: pointer;
    text-align: center;
    width: calc(33.33% - 20px); /* Adjust the width for larger screens */
    max-width: 150px; /* Set maximum width */
  }

  .card:hover {
    transform: translateY(-5px);
  }

  .card img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }

  .card-title {
    font-size: 12px;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .card-button {
    display: inline-block;
    background-color: #ff6f61;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 4px 8px;
    text-decoration: none;
    font-size: 10px;
    transition: background-color 0.3s;
    margin-top: 5px;
  }

  .card-button:hover {
    background-color: #ff9461;
  }

  @media (max-width: 768px) {
    .card {
      width: calc(50% - 20px); /* Adjust the width for medium screens */
    }
  }

  /* Ensure cards display in three columns on any screen */
  @media (max-width: 768px) {
    .card {
      width: calc(33.33% - 20px); /* Adjust the width for smaller screens */
    }
  }